;;(require 'ido)
;;(ido-mode t)
(require 'ido)
(ido-mode t)


(add-hook 'ido-setup-hook 'gnufied/ido-extra-keys)

(defun gnufied/ido-extra-keys ()
  "Add my keybindings for ido."
  (define-key ido-completion-map "\C-h" 'ido-delete-backward-updir)
  (define-key ido-completion-map "\C-n" 'ido-next-match)
  (define-key ido-completion-map "\C-f" 'ido-next-match)
  (define-key ido-completion-map "\C-p" 'ido-prev-match)
  (define-key ido-completion-map "\C-b" 'ido-prev-match)
  (define-key ido-completion-map " "    'ido-exit-minibuffer))
